<template>
	<div class="box">
		<add-address-header></add-address-header>
		<!--<div class="zxContent">-->
			<add-address></add-address>
			<add-address-info></add-address-info>
			<add-address-tag></add-address-tag>
		<!--</div>-->
	</div>
</template>

<script>
import AddAddressHeader from "./AddAddressHeader";
import AddAddressInfo from "./AddAddressInfo";
import AddAddressTag from "./AddAddressTag";
import AddAddress from "./AddAddress";
import {mapGetters} from "vuex";

	export default {
	  	name: 'hello',
	  	data () {
	    	return {
				msg: '这是新增地址页面',
	            page: "addAddress",
//	            type: {
//	            	header: "addAddressHeader",
//	                info: "addAddressInfo",
//	                tag:"addAddressTag",
//	                address:"addAddress"
//	            }
			}
		},
		computed: {
			...mapGetters([
				
			]),
		},
		components: {
			"add-address-header":AddAddressHeader,
	        "add-address": AddAddress,
	        "add-address-info":AddAddressInfo,
	        "add-address-tag":AddAddressTag
	    },
	    methods: {
	        getData() {
				console.log(123456);
	        },    
	    },
		created () {
			
		},
		mounted () {
			// initDomTree(this.getDomTree[this.page]);
			
		},
		updated() {
			//页面更新完毕
		}
	}
</script>

<style scoped="scoped">
	/*.zxHeader{
		position: absolute;
		top: 0;
		left: 0;
	}
	.zxContent{
		position: absolute;
		top: 3rem;
		bottom: 0;
		width: 100%;
		overflow-y: auto;
	}*/
</style>